<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="sp" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="s" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<base href="<%=basePath%>">
<title>退票中心</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet"
	href="${pageContext.request.contextPath }/layui/css/layui.css"
	media="all">
<style type="text/css">
td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

td img {
	display: block;
}

.STYLE4 {
	font-size: 14px
}

td img {
	display: block;
}
</style>
<script type="text/javascript"
	src="${pageContext.request.contextPath }/js/jquery-3.1.0.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath }/layui/layui.js"
	charset="utf-8"></script>
<script type="text/javascript">
	$(function() {

	});
</script>
<script type="text/javascript">
	function del() {
		if (confirm("是否确定退票？")) {
			return true;
		}
		return false;
	}
</script>
</head>
<body>
	<table width="790" border="0" align="center">
		<tr>
			<td height="158" colspan="3" valign="top">
				<table border="0" cellpadding="0" cellspacing="0" width="780">
					<tr>
						<td colspan="11"><img name="indexLOGO_r1_c1"
							src="imags/indexLOGO_r1_c1.jpg" width="780" height="178"
							border="0" id="indexLOGO_r1_c1" alt="" /></td>
						<td><img src="imags/spacer.gif" width="1" height="178"
							border="0" alt="" /></td>
					</tr>
					<tr>
						<td rowspan="2"><img name="indexLOGO_r2_c1"
							src="imags/indexLOGO_r2_c1.jpg" width="198" height="22"
							border="0" id="indexLOGO_r2_c1" alt="" /></td>
						<td><a href="index.jsp" target="_top"><img
								name="indexLOGO_r2_c2" src="imags/indexLOGO_r2_c2.jpg"
								width="69" height="17" border="0" id="indexLOGO_r2_c2" alt="" />
						</a></td>
						<td rowspan="2"><img name="indexLOGO_r2_c3"
							src="imags/indexLOGO_r2_c3.jpg" width="44" height="22" border="0"
							id="indexLOGO_r2_c3" alt="" /></td>
						<td><a href="ticketLook" target="_top"><img
								name="indexLOGO_r2_c4" src="imags/indexLOGO_r2_c4.jpg"
								width="70" height="17" border="0" id="indexLOGO_r2_c4" alt="" />
						</a></td>
						<td rowspan="2"><img name="indexLOGO_r2_c5"
							src="imags/indexLOGO_r2_c5.jpg" width="57" height="22" border="0"
							id="indexLOGO_r2_c5" alt="" /></td>
						<td><a href="bookTicket" target="_top"><img
								name="indexLOGO_r2_c6" src="imags/indexLOGO_r2_c6.jpg"
								width="72" height="17" border="0" id="indexLOGO_r2_c6" alt="" />
						</a></td>
						<td rowspan="2"><img name="indexLOGO_r2_c7"
							src="imags/indexLOGO_r2_c7.jpg" width="55" height="22" border="0"
							id="indexLOGO_r2_c7" alt="" /></td>
						<td><a href="tuiPiao" target="_top"><img
								name="indexLOGO_r2_c8" src="imags/indexLOGO_r2_c8.jpg"
								width="72" height="17" border="0" id="indexLOGO_r2_c8" alt="" />
						</a></td>
						<td rowspan="2"><img name="indexLOGO_r2_c9"
							src="imags/indexLOGO_r2_c9.jpg" width="48" height="22" border="0"
							id="indexLOGO_r2_c9" alt="" /></td>
						<td><a href="leaveMessage" target="_top"><img
								name="indexLOGO_r2_c10" src="imags/indexLOGO_r2_c10.jpg"
								width="70" height="17" border="0" id="indexLOGO_r2_c10" alt="" />
						</a></td>
						<td rowspan="2"><img name="indexLOGO_r2_c11"
							src="imags/indexLOGO_r2_c11.jpg" width="25" height="22"
							border="0" id="indexLOGO_r2_c11" alt="" /></td>
						<td><img src="imags/spacer.gif" width="1" height="17"
							border="0" alt="" /></td>
					</tr>
					<tr>
						<td><img name="indexLOGO_r3_c2"
							src="imags/indexLOGO_r3_c2.jpg" width="69" height="5" border="0"
							id="indexLOGO_r3_c2" alt="" /></td>
						<td><img name="indexLOGO_r3_c4"
							src="imags/indexLOGO_r3_c4.jpg" width="70" height="5" border="0"
							id="indexLOGO_r3_c4" alt="" /></td>
						<td><img name="indexLOGO_r3_c6"
							src="imags/indexLOGO_r3_c6.jpg" width="72" height="5" border="0"
							id="indexLOGO_r3_c6" alt="" /></td>
						<td><img name="indexLOGO_r3_c8"
							src="imags/indexLOGO_r3_c8.jpg" width="72" height="5" border="0"
							id="indexLOGO_r3_c8" alt="" /></td>
						<td><img name="indexLOGO_r3_c10"
							src="imags/indexLOGO_r3_c10.jpg" width="70" height="5" border="0"
							id="indexLOGO_r3_c10" alt="" /></td>
						<td><img src="imags/spacer.gif" width="1" height="5"
							border="0" alt="" /></td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="29" colspan="3" valign="top"><table width="747"
					height="43" border="0">
					<tr>
						<td width="53" height="39">&nbsp;</td>
						<td width="79" valign="bottom"><span class="STYLE5">在线退票</span></td>
						<td width="601" valign="bottom">&nbsp;</td>
					</tr>
				</table></td>
		</tr>
		<tr>
			<td height="19" colspan="3" valign="top"><hr color="#FF0000"></td>
		</tr>
		<tr>
			<td width="79" height="135" valign="top">&nbsp;</td>
			<td width="601" valign="top"><form name="form1" method="post"
					action="searchBookTicket.action" style="width: 100%">
					<table width="593" border="0">
						<tr>
							<td height="43" colspan="4"><div align="left">
									<blockquote>
										<blockquote>
											<blockquote>
												<p align="center" class="STYLE6">请填写你曾订购的车票信息</p>
											</blockquote>
										</blockquote>
									</blockquote>
								</div></td>
						</tr>
						<tr>
							<td width="125" height="23" align="right">车次：</td>
							<td width="158"><select name="carOrder" id="carOrder">
									<option value="p001"> p001 </option>
									<option value="p002"> p002 </option>
									<option value="p003"> p003 </option>
									<option value="p004"> p004 </option>
									<option value="p101"> p101 </option>
									<option value="p201"> p201 </option>
									<option value="p202"> p202 </option>
									<option value="p203"> p203 </option>
									<option value="p204"> p204 </option>
									<option value="p301"> p301 </option>
									<option value="p304"> p304 </option>
									<option value="p401"> p401 </option>
									<option value="p501"> p501 </option>
									<option value="p502"> p502 </option>
							</select></td>
							<td width="95" align="right">发车时间：</td>
							<td width="197"><select name="pDrvDate">
									<option value="2010-06-29"> 2010-06-29 </option>
									<option value="2010-06-30"> 2010-06-30 </option>
									<option value="2010-07-01"> 2010-07-01 </option>
							</select></td>
						</tr>
						<tr>
							<td height="36" align="right">出发站：</td>
							<td><select name="startStation">
									<option value="南昌总站">南昌总站</option>
									<option value="南昌青山客运站">南昌青山客运站</option>
							</select></td>
							<td align="right">目的站：</td>
							<td height="36"><select name="finalStation">
									<option value="武汉">武汉</option>
									<option value="长沙">长沙</option>
									<option value="上海">上海</option>
									<option value="天津">天津</option>
							</select></td>
						</tr>
						<tr>
							<td height="51" colspan="4"><table width="433" border="0">
									<tr>
										<td width="156" height="30">&nbsp;</td>
										<td width="123" valign="bottom"><input type="submit"
											value="查询" style="width: 45px; height: 26px; font-size: 15px">
											&nbsp;</td>
										<td width="140" valign="bottom"><input type="button"
											value="重置" style="width: 45px; height: 26px; font-size: 15px">&nbsp;</td>
									</tr>
								</table></td>
						</tr>
					</table>
				</form></td>
			<td width="88" valign="top"><blockquote>&nbsp;</blockquote></td>
		</tr>
		<tr>
			<td height="252" colspan="3" valign="top"><table width="773"
					height="198" border="0">
					<tr>
						<td width="141">&nbsp;</td>
						<td width="313"><span class="STYLE6">您订购的车票信息如下：</span></td>
						<td width="305" height="28">&nbsp;</td>
					</tr>
					<tr>
						<td height="164" colspan="3" valign="top"><table width="761"
								height="158" border="0">
								<tr>
									<td width="7" height="154">&nbsp;</td>
									<td width="736" valign="top">
										<table border="0" width="100%" align="center" cellpadding="0"
											cellspacing="1" bgcolor="#dfdfdf">

											<tr>
												<td width="9%" height="25" bgcolor="#CC6600"><span
													class="STYLE9">车次</span></td>

												<td width="24%" bgcolor="#CC6600"><span class="STYLE9">发车时间</span>
												</td>

												<td width="18%" bgcolor="#CC6600">出发站</td>
												<td width="8%" bgcolor="#CC6600">目的站</td>
												<td width="10%" bgcolor="#CC6600"><span class="STYLE9">车型</span>
												</td>

												<td width="9%" bgcolor="#CC6600"><span class="STYLE9">票数</span>
												</td>

												<td width="12%" bgcolor="#CC6600">总金额</td>

												<td width="10%" bgcolor="#CC6600"><span class="STYLE9">退票</span></td>
											</tr>

											<s:iterator value="#request.list" id="us">
												<tr>
													<td height="36" bgcolor="#DFDFDF"><s:property
															value="#us.carOrder" /></td>

													<td bgcolor="#DFDFDF">10<s:property
															value="#request.startTime" />&nbsp;&nbsp;&nbsp;<s:property
															value="#request.clock" /> :00:00
													</td>


													<td bgcolor="#DFDFDF"><s:property
															value="#us.startStation" /></td>

													<td bgcolor="#DFDFDF"><s:property
															value="#us.arriveStation" /></td>

													<td bgcolor="#DFDFDF"><s:property
															value="#request.carModel" /></td>

													<td bgcolor="#DFDFDF"><s:property
															value="#us.ticketNum" /></td>

													<td bgcolor="#DFDFDF"><s:property value="#us.sumMoney" />
													</td>
													<td bgcolor="#DFDFDF"><s:a
															href="removeBookedTicket.action?ticketSaled.id=%{#us.id}&startTime=%{#request.startTime}&clock=%{#request.clock}"
															onclick="return del();">delete</s:a></td>
												</tr>
											</s:iterator>
										</table>
									</td>
									<td width="10">&nbsp;</td>
								</tr>
							</table></td>
					</tr>
				</table></td>
		</tr>

		<tr>
			<td height="41" colspan="3" align="center" valign="top"><hr
					size="2" color="#CC6666">
				<p align="center">
					<span class="STYLE4">华育国际J27班第四小组版权所有 Copyright © 2017-2020.
						All Rights Reserved.</span>
				</p></td>
		</tr>
		<tr>
			<td height="23" colspan="3" valign="top"><hr size="15"
					color="#FF3333"></td>
		</tr>
	</table>
	<br>
</body>
</html>

